package CreationMode.single.demo01;

/**
 *  单列模式 静态变量方式 饿汉式
 */
public class Client {

    public static void main(String[] args) {
        Single single1 = Single.getSingle();
        Single single2 = Single.getSingle();

        System.out.println(single1 == single2);

    }
}
